package cn.eonshine.cuba.inf.modular.biz.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * Tanker GPS最后一个港口
 * </p>
 *
 * @author Alan
 * @since 2018-07-28
 */
@TableName("inf_tanker_gps_lastport")
public class TankerGpsLastport extends Model<TankerGpsLastport> {

    private static final long serialVersionUID = 1L;

    /**
     * primary key 主键
     */
    @TableField(exist = false)
    private String id;
    @TableId("vessel_id")
    private BigDecimal vesselId;
    private String country;
    private BigDecimal latitude;
    private String locode;
    private BigDecimal longitude;
    private String name;
    @TableField("seen_last")
    private String seenLast;
    /**
     * Data collection status 数据采集状态
     */
    @TableField("LSMS_UPDATE")
    private BigDecimal lsmsUpdate;
    /**
     * Data input datetime 数据更新时间
     */
    @TableField("DATA_INPUT_DATETIME")
    private Date dataInputDatetime;


    public BigDecimal getVesselId() {
        return vesselId;
    }

    public void setVesselId(BigDecimal vesselId) {
        this.vesselId = vesselId;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public String getLocode() {
        return locode;
    }

    public void setLocode(String locode) {
        this.locode = locode;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSeenLast() {
        return seenLast;
    }

    public void setSeenLast(String seenLast) {
        this.seenLast = seenLast;
    }

    @Override
    protected Serializable pkVal() {
        return this.vesselId;
    }

    /**  
	 * @Title:  getId <BR>  
	 * @Description: please write your description <BR>  
	 * @author: Alan
	 * @date:   2019-02-14 15:36:20
	 */
	public String getId() {
		return id;
	}

	/**
	 * @Title:  setId <BR>  
	 * @Description: please write your description <BR>  
	 * @param id the id to set <BR>
	 * @author: Alan
	 * @date:   2019-02-14 15:36:20
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**  
	 * @Title:  getLsmsUpdate <BR>  
	 * @Description: please write your description <BR>  
	 * @author: Alan
	 * @date:   2019-02-14 15:36:20
	 */
	public BigDecimal getLsmsUpdate() {
		return lsmsUpdate;
	}

	/**
	 * @Title:  setLsmsUpdate <BR>  
	 * @Description: please write your description <BR>  
	 * @param lsmsUpdate the lsmsUpdate to set <BR>
	 * @author: Alan
	 * @date:   2019-02-14 15:36:20
	 */
	public void setLsmsUpdate(BigDecimal lsmsUpdate) {
		this.lsmsUpdate = lsmsUpdate;
	}

	/**  
	 * @Title:  getDataInputDatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @author: Alan
	 * @date:   2019-02-14 15:36:20
	 */
	public Date getDataInputDatetime() {
		return dataInputDatetime;
	}

	/**
	 * @Title:  setDataInputDatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @param dataInputDatetime the dataInputDatetime to set <BR>
	 * @author: Alan
	 * @date:   2019-02-14 15:36:20
	 */
	public void setDataInputDatetime(Date dataInputDatetime) {
		this.dataInputDatetime = dataInputDatetime;
	}

	@Override
    public String toString() {
        return "TankerGpsLastport{" +
        ", vesselId=" + vesselId +
        ", country=" + country +
        ", latitude=" + latitude +
        ", locode=" + locode +
        ", longitude=" + longitude +
        ", name=" + name +
        ", seenLast=" + seenLast +
        "}";
    }
}
